﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using BusinessLogic;

namespace ChatService
{
    interface IChatCallback
    {
        [OperationContract(IsOneWay = true)]
        void Receive(User sender, string message);

        [OperationContract(IsOneWay = true)]
        void ReceiveWhisper(User sender, string message);

        [OperationContract(IsOneWay = true)]
        void UserEnter(User person);

        [OperationContract(IsOneWay = true)]
        void UserLeave(User person);
    }
}
